<?php

namespace common\models;

use Yii;
use common\models\User;

/**
 * 订单处理模型
 */
class OrderDeal
{
    
    public static function deal($order_no){
        $transaction = Yii::$app->db->beginTransaction();
        try {
            
            $now = time();
            $sql = "";
            $command = \Yii::$app->db->createCommand($sql);
            $command->execute();
            
            $transaction->commit();
        } catch (\Exception $e) {
            $transaction->rollBack();
        }
    }
}
